<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page isELIgnored="false"%>

<form id="editForm" method="post"
	action="${pageContext.request.contextPath}/system/sysRightList.do"
	onsubmit="return navTabSearch(this);">
	<input type="hidden" name="page.pageSize" value="${page.pageSize}" />
	<input type="hidden" id="pageNo" name="page.pageNo"
		value="${page.pageNo}" /> <input type="hidden" name="orderField"
		value="${orderField}" /> <input type="hidden" name="pageNum"
		value="1" /> <input type="hidden" name="numPerPage"
		value="${page.pageSize}" />
		<input type="hidden" name="id" id="id" value="${id}" />
		<input type="hidden" name="queryStr" id="queryStr" value="queryStr" />

<div class="pageContent">

		<div class="panelBar">
			<ul class="toolBar">
			<li class=""><a class="add" href="/SSM/system/sysRightAdd.do?id=R020801" target="ajax" rel="jbsxBox"><span>添加</span></a></li>
			<li class=""><a class="delete" href="/SSM/system/sysRightAdd.do?id=${id}" target="ajaxTodo" title="确定要删除吗？" warn="请选择一个用户"><span>删除</span></a></li>
		</ul>
		<div class="buttonActive buttonActiveHover"><div class="buttonContent"><button>保存</button></div></div>
		</div>
		
		<input type="hidden" value="${id}" id="id" name="id"/>
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>rightid：</label>
				<input name="tsysRight.rightid" type="text" size="30" value="${tsysRight.rightid}" readonly/>
			</p>
			<p>
				<label>righttype：</label>
				<input name="tsysRight.righttype" type="text" size="30" value="${tsysRight.righttype}" />
			</p>
			<p>
				<label>rightcode：</label>
				<input name="tsysRight.rightcode" type="text" size="30" value="${tsysRight.rightcode}" />
			</p>
			<p>
				<label>grade：</label>
				<input name="tsysRight.grade" type="text" size="30" value="${tsysRight.grade}" />
			</p>
			<p>
				<label>nodetype：</label>
				<input name="tsysRight.nodetype" type="text" size="30" value="${tsysRight.nodetype}" />
			</p>
			<p>
				<label>parentid：</label>
				<input name="tsysRight.parentid" type="text" size="30" value="${tsysRight.parentid}" />
			</p>
			<p>
				<label>pathcode：</label>
				<input name="tsysRight.pathcode" type="text" size="30" value="${tsysRight.pathcode}" />
			</p>
			<p>
				<label>rightname：</label>
				<input name="tsysRight.rightname" type="text" size="30" value="${tsysRight.rightname}" />
			</p>
			<p>
				<label>logflag：</label>
				<input name="tsysRight.logflag" type="text" size="30" value="${tsysRight.logflag}" />
			</p>
			<p>
				<label>createuser：</label>
				<input name="tsysRight.createuser" type="text" size="30" value="${tsysRight.createuser}" />
			</p>
			<p>
				<label>createtime：</label>
				<input name="tsysRight.createtime" type="text" size="30" value='<s:date name="tsysRight.createtime" format="yyyy-MM-dd HH:mm:ss"/>' />
			</p>
		</div>
		
	</form>
</div>

<script type="text/javascript">
function edit(){
		$("#editForm").attr("action", "${pageContext.request.contextPath}/system/sysRightEdit.do");
		$("#editForm").submit();
}		
function back(){
	$("#editForm").attr("action", "${pageContext.request.contextPath}/system/sysRightList.do");
	$("#editForm").submit();
}
</script>
